package www.nupter.org.njuptask.model;

import java.util.List;

/**
 * Created by fangzhenyi on 2017/5/20.
 */

public class Questions {

    /**
     * status : success
     * data : [{"id":1,"title":"啦啦啦","description":"123","content":"我是买啦啦啦啦啦啦啦啦啦啦啦垃圾了","file":"http://www.520xy.cc/uploads/2017-05-20-22-54-52-592058bc51a9c.png","name":"方振毅"},{"id":2,"title":"啦啦啦","description":"123","content":"你好难弄","file":"1","name":"方振毅"}]
     */

    private String status;
    private List<DataEntity> data;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public static class DataEntity {
        private int id;
        private String title;
        private String description;
        private String content;
        private String file;
        private String name;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getFile() {
            return file;
        }

        public void setFile(String file) {
            this.file = file;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
